[INFO] fetching crate foxguard 0.9.0...
[INFO] fixing foxguard-0.9.0 against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] extracting crate foxguard 0.9.0 into /workspace/builds/worker-6-tc2/source
[INFO] started tweaking crates.io crate foxguard 0.9.0
[INFO] removed 0 missing tests
[INFO] finished tweaking crates.io crate foxguard 0.9.0
[INFO] tweaked toml for crates.io crate foxguard 0.9.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate foxguard 0.9.0 on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate foxguard 0.9.0 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] cb02ae227d1966d22c784660bd25d2597e6f67fc8e96881be8f5c0e8bbd089c6
[INFO] running `Command { std: "docker" "start" "cb02ae227d1966d22c784660bd25d2597e6f67fc8e96881be8f5c0e8bbd089c6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "cb02ae227d1966d22c784660bd25d2597e6f67fc8e96881be8f5c0e8bbd089c6" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "cb02ae227d1966d22c784660bd25d2597e6f67fc8e96881be8f5c0e8bbd089c6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "cb02ae227d1966d22c784660bd25d2597e6f67fc8e96881be8f5c0e8bbd089c6" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Compiling libc v0.2.183
[INFO] [stderr]    Compiling tree-sitter-language v0.1.7
[INFO] [stderr]     Checking mio v1.2.0
[INFO] [stderr]    Compiling aws-lc-rs v1.17.0
[INFO] [stderr]     Checking socket2 v0.6.3
[INFO] [stderr]     Checking futures-sink v0.3.32
[INFO] [stderr]    Compiling thiserror v2.0.18
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]     Checking http v1.4.0
[INFO] [stderr]     Checking unicode-width v0.2.0
[INFO] [stderr]     Checking itertools v0.14.0
[INFO] [stderr]    Compiling instability v0.3.12
[INFO] [stderr]     Checking unicode-segmentation v1.13.2
[INFO] [stderr]    Compiling rustix v1.1.4
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling indoc v2.0.7
[INFO] [stderr]    Compiling rustls v0.23.40
[INFO] [stderr]     Checking futures-util v0.3.32
[INFO] [stderr]     Checking compact_str v0.9.0
[INFO] [stderr]     Checking tokio v1.52.2
[INFO] [stderr]     Checking lru v0.16.4
[INFO] [stderr]     Checking aho-corasick v1.1.4
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]     Checking linux-raw-sys v0.12.1
[INFO] [stderr]     Checking deranged v0.5.8
[INFO] [stderr]    Compiling convert_case v0.10.0
[INFO] [stderr]     Checking signal-hook v0.3.18
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]    Compiling jobserver v0.1.34
[INFO] [stderr]     Checking futures-channel v0.3.32
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]     Checking num_threads v0.1.7
[INFO] [stderr]     Checking num-conv v0.2.1
[INFO] [stderr]    Compiling memchr v2.8.0
[INFO] [stderr]     Checking time-core v0.1.8
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking indexmap v2.13.0
[INFO] [stderr]    Compiling cc v1.2.58
[INFO] [stderr]     Checking line-clipping v0.3.7
[INFO] [stderr]     Checking signal-hook-mio v0.2.5
[INFO] [stderr]     Checking rustls-native-certs v0.8.3
[INFO] [stderr]     Checking bstr v1.12.1
[INFO] [stderr]     Checking iri-string v0.7.12
[INFO] [stderr]     Checking getrandom v0.4.2
[INFO] [stderr]     Checking http-body-util v0.1.3
[INFO] [stderr]    Compiling include_dir_macros v0.7.4
[INFO] [stderr]     Checking sha1_smol v1.0.1
[INFO] [stderr]     Checking unscanny v0.1.0
[INFO] [stderr]     Checking unicode-truncate v2.0.1
[INFO] [stderr]     Checking time v0.3.47
[INFO] [stderr]     Checking streaming-iterator v0.1.9
[INFO] [stderr]     Checking colored v2.2.0
[INFO] [stderr]     Checking regex-automata v0.4.14
[INFO] [stderr]     Checking uuid v1.23.1
[INFO] [stderr]     Checking wait-timeout v0.2.1
[INFO] [stderr]     Checking include_dir v0.7.4
[INFO] [stderr]     Checking shlex v1.3.0
[INFO] [stderr]    Compiling cmake v0.1.58
[INFO] [stderr]    Compiling tree-sitter-json v0.24.8
[INFO] [stderr]    Compiling tree-sitter-containerfile v0.8.0
[INFO] [stderr]    Compiling tree-sitter-c v0.24.2
[INFO] [stderr]    Compiling tree-sitter-swift v0.7.1
[INFO] [stderr]    Compiling tree-sitter-yaml v0.7.2
[INFO] [stderr]    Compiling tree-sitter-scala v0.26.0
[INFO] [stderr]    Compiling tree-sitter-elixir v0.3.5
[INFO] [stderr]    Compiling aws-lc-sys v0.41.0
[INFO] [stderr]    Compiling tree-sitter-php v0.24.2
[INFO] [stderr]    Compiling tree-sitter-kotlin-sg v0.4.0
[INFO] [stderr]    Compiling tree-sitter-ruby v0.23.1
[INFO] [stderr]    Compiling tree-sitter-python v0.23.6
[INFO] [stderr]    Compiling tree-sitter-go v0.23.4
[INFO] [stderr]    Compiling tree-sitter-java v0.23.5
[INFO] [stderr]    Compiling tree-sitter-javascript v0.23.1
[INFO] [stderr]    Compiling tree-sitter-typescript v0.23.2
[INFO] [stderr]    Compiling tree-sitter-c-sharp v0.23.1
[INFO] [stderr]    Compiling tree-sitter-rust v0.24.2
[INFO] [stderr]    Compiling tree-sitter-bash v0.23.3
[INFO] [stderr]    Compiling tree-sitter-ocaml v0.25.0
[INFO] [stderr]    Compiling tree-sitter-hcl v1.1.0
[INFO] [stderr]    Compiling tree-sitter-solidity v1.2.13
[INFO] [stderr]     Checking regex v1.12.3
[INFO] [stderr]     Checking globset v0.4.18
[INFO] [stderr]     Checking hyper v1.9.0
[INFO] [stderr]     Checking tower v0.5.3
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling darling_core v0.23.0
[INFO] [stderr]     Checking hyper-util v0.1.20
[INFO] [stderr]     Checking tower-http v0.6.8
[INFO] [stderr]     Checking ignore v0.4.25
[INFO] [stderr]     Checking tempfile v3.27.0
[INFO] [stderr]    Compiling tree-sitter v0.25.10
[INFO] [stderr]    Compiling zerofrom-derive v0.1.7
[INFO] [stderr]    Compiling yoke-derive v0.8.2
[INFO] [stderr]    Compiling zerovec-derive v0.11.3
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]    Compiling strum_macros v0.27.2
[INFO] [stderr]    Compiling derive_more-impl v2.1.1
[INFO] [stderr]    Compiling clap_derive v4.6.0
[INFO] [stderr]     Checking zerofrom v0.1.8
[INFO] [stderr]     Checking yoke v0.8.2
[INFO] [stderr]    Compiling darling_macro v0.23.0
[INFO] [stderr]     Checking zerovec v0.11.6
[INFO] [stderr]     Checking zerotrie v0.2.4
[INFO] [stderr]     Checking kasuari v0.4.12
[INFO] [stderr]     Checking derive_more v2.1.1
[INFO] [stderr]     Checking crossterm v0.29.0
[INFO] [stderr]    Compiling darling v0.23.0
[INFO] [stderr]     Checking tinystr v0.8.3
[INFO] [stderr]     Checking potential_utf v0.1.5
[INFO] [stderr]     Checking icu_locale_core v2.2.0
[INFO] [stderr]     Checking icu_collections v2.2.0
[INFO] [stderr]     Checking strum v0.27.2
[INFO] [stderr]     Checking ratatui-core v0.1.0
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking clap v4.6.0
[INFO] [stderr]     Checking icu_provider v2.2.0
[INFO] [stderr]     Checking serde_spanned v0.6.9
[INFO] [stderr]     Checking toml_datetime v0.6.11
[INFO] [stderr]     Checking serde_yaml_ng v0.10.0
[INFO] [stderr]     Checking pep440_rs v0.7.3
[INFO] [stderr]     Checking icu_properties v2.2.0
[INFO] [stderr]     Checking icu_normalizer v2.2.0
[INFO] [stderr]     Checking toml_edit v0.22.27
[INFO] [stderr]     Checking ratatui-widgets v0.3.0
[INFO] [stderr]     Checking ratatui-crossterm v0.1.0
[INFO] [stderr]     Checking idna_adapter v1.2.2
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking ratatui-macros v0.7.0
[INFO] [stderr]     Checking ratatui v0.30.0
[INFO] [stderr]     Checking toml v0.8.23
[INFO] [stderr]     Checking url v2.5.8
[INFO] [stderr]     Checking rustls-webpki v0.103.13
[INFO] [stderr]     Checking tokio-rustls v0.26.4
[INFO] [stderr]     Checking rustls-platform-verifier v0.7.0
[INFO] [stderr]     Checking hyper-rustls v0.27.9
[INFO] [stderr]     Checking reqwest v0.13.3
[INFO] [stderr]     Checking foxguard v0.9.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2021 edition to 2024
[INFO] [stderr]        Fixed src/rules/mod.rs (30 fixes)
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> src/engine/codeql.rs:285:19
[INFO] [stdout]     |
[INFO] [stdout] 285 |             match build_auto_database(scan_target, &language) {
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                   |
[INFO] [stdout]     |                   this value will be stored in a temporary; let us call it `#2`
[INFO] [stdout]     |                   up until Edition 2021 `#2` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout] 286 |                 Ok(tempdir) => {
[INFO] [stdout] 287 |                     auto_databases.insert(language.clone(), tempdir);
[INFO] [stdout]     |                     ------------------------------------------------
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]     |                     `#1` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 300 |         }
[INFO] [stdout]     |         - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]     |
[INFO] [stdout] note: `#2` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tempfile-3.27.0/src/dir/mod.rs:498:1
[INFO] [stdout]     |
[INFO] [stdout] 498 | impl Drop for TempDir {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `#1` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tempfile-3.27.0/src/dir/mod.rs:498:1
[INFO] [stdout]     |
[INFO] [stdout] 498 | impl Drop for TempDir {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout]     = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]     --> src/rules/semgrep_compat.rs:1958:43
[INFO] [stdout]      |
[INFO] [stdout] 1920 |         let mut inside = None;
[INFO] [stdout]      |             ----------
[INFO] [stdout]      |             |
[INFO] [stdout]      |             `inside` calls a custom destructor
[INFO] [stdout]      |             `inside` will be dropped later as of Edition 2024
[INFO] [stdout] 1921 |         let mut not_inside = None;
[INFO] [stdout]      |             --------------
[INFO] [stdout]      |             |
[INFO] [stdout]      |             `not_inside` calls a custom destructor
[INFO] [stdout]      |             `not_inside` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 1936 |                 positives.push(PatternMatcher::Regex(compile_regex(regex)?));
[INFO] [stdout]      |                                                      ---------------------
[INFO] [stdout]      |                                                      |
[INFO] [stdout]      |                                                      this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]      |                                                      `#1` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 1945 |                 negatives.push(NegativeMatcher::Regex(compile_regex(regex)?));
[INFO] [stdout]      |                                                       ---------------------
[INFO] [stdout]      |                                                       |
[INFO] [stdout]      |                                                       this value will be stored in a temporary; let us call it `#2`
[INFO] [stdout]      |                                                       `#2` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 1954 |                 let matchers = build_either_matchers(pe, lang)?;
[INFO] [stdout]      |                                --------------------------------
[INFO] [stdout]      |                                |
[INFO] [stdout]      |                                this value will be stored in a temporary; let us call it `#3`
[INFO] [stdout]      |                                `#3` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 1958 |                 if let Some(constraint) = MetavariableRegexConstraint::from_yaml(mr) {
[INFO] [stdout]      |                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |                                           |
[INFO] [stdout]      |                                           this value will be stored in a temporary; let us call it `#4`
[INFO] [stdout]      |                                           up until Edition 2021 `#4` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 1963 |             }
[INFO] [stdout]      |             - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#4` may invoke a custom destructor because it contains a trait object
[INFO] [stdout] note: `inside` invokes this custom destructor
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tree-sitter-0.25.10/binding_rust/lib.rs:1570:1
[INFO] [stdout]      |
[INFO] [stdout] 1570 | impl Drop for Tree {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `not_inside` invokes this custom destructor
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tree-sitter-0.25.10/binding_rust/lib.rs:1570:1
[INFO] [stdout]      |
[INFO] [stdout] 1570 | impl Drop for Tree {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = note: `#1` may invoke a custom destructor because it contains a trait object
[INFO] [stdout]      = note: `#2` may invoke a custom destructor because it contains a trait object
[INFO] [stdout]      = note: `#3` may invoke a custom destructor because it contains a trait object
[INFO] [stdout] note: `#3` invokes this custom destructor
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tree-sitter-0.25.10/binding_rust/lib.rs:1570:1
[INFO] [stdout]      |
[INFO] [stdout] 1570 | impl Drop for Tree {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]      = warning: this changes meaning in Rust 2024
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]     --> src/rules/semgrep_compat.rs:1971:43
[INFO] [stdout]      |
[INFO] [stdout] 1920 |         let mut inside = None;
[INFO] [stdout]      |             ----------
[INFO] [stdout]      |             |
[INFO] [stdout]      |             `inside` calls a custom destructor
[INFO] [stdout]      |             `inside` will be dropped later as of Edition 2024
[INFO] [stdout] 1921 |         let mut not_inside = None;
[INFO] [stdout]      |             --------------
[INFO] [stdout]      |             |
[INFO] [stdout]      |             `not_inside` calls a custom destructor
[INFO] [stdout]      |             `not_inside` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 1936 |                 positives.push(PatternMatcher::Regex(compile_regex(regex)?));
[INFO] [stdout]      |                                                      ---------------------
[INFO] [stdout]      |                                                      |
[INFO] [stdout]      |                                                      this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]      |                                                      `#1` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 1945 |                 negatives.push(NegativeMatcher::Regex(compile_regex(regex)?));
[INFO] [stdout]      |                                                       ---------------------
[INFO] [stdout]      |                                                       |
[INFO] [stdout]      |                                                       this value will be stored in a temporary; let us call it `#2`
[INFO] [stdout]      |                                                       `#2` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 1954 |                 let matchers = build_either_matchers(pe, lang)?;
[INFO] [stdout]      |                                --------------------------------
[INFO] [stdout]      |                                |
[INFO] [stdout]      |                                this value will be stored in a temporary; let us call it `#3`
[INFO] [stdout]      |                                `#3` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 1971 |                 if let Some(constraint) = MetavariablePatternConstraint::from_yaml(mp, lang) {
[INFO] [stdout]      |                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |                                           |
[INFO] [stdout]      |                                           this value will be stored in a temporary; let us call it `#4`
[INFO] [stdout]      |                                           up until Edition 2021 `#4` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 1976 |             }
[INFO] [stdout]      |             - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#4` may invoke a custom destructor because it contains a trait object
[INFO] [stdout] note: `#4` invokes this custom destructor
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tree-sitter-0.25.10/binding_rust/lib.rs:1570:1
[INFO] [stdout]      |
[INFO] [stdout] 1570 | impl Drop for Tree {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `inside` invokes this custom destructor
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tree-sitter-0.25.10/binding_rust/lib.rs:1570:1
[INFO] [stdout]      |
[INFO] [stdout] 1570 | impl Drop for Tree {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `not_inside` invokes this custom destructor
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tree-sitter-0.25.10/binding_rust/lib.rs:1570:1
[INFO] [stdout]      |
[INFO] [stdout] 1570 | impl Drop for Tree {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = note: `#1` may invoke a custom destructor because it contains a trait object
[INFO] [stdout]      = note: `#2` may invoke a custom destructor because it contains a trait object
[INFO] [stdout]      = note: `#3` may invoke a custom destructor because it contains a trait object
[INFO] [stdout] note: `#3` invokes this custom destructor
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tree-sitter-0.25.10/binding_rust/lib.rs:1570:1
[INFO] [stdout]      |
[INFO] [stdout] 1570 | impl Drop for Tree {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]      = warning: this changes meaning in Rust 2024
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating tests/semgrep_parity_inverse.rs from 2021 edition to 2024
[INFO] [stderr]        Fixed src/report/github_pr.rs (3 fixes)
[INFO] [stderr]        Fixed src/engine/codeql.rs (5 fixes)
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> src/engine/codeql.rs:285:19
[INFO] [stdout]     |
[INFO] [stdout] 285 |             match build_auto_database(scan_target, &language) {
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                   |
[INFO] [stdout]     |                   this value will be stored in a temporary; let us call it `#2`
[INFO] [stdout]     |                   up until Edition 2021 `#2` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout] 286 |                 Ok(tempdir) => {
[INFO] [stdout] 287 |                     auto_databases.insert(language.clone(), tempdir);
[INFO] [stdout]     |                     ------------------------------------------------
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]     |                     `#1` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 300 |         }
[INFO] [stdout]     |         - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]     |
[INFO] [stdout] note: `#2` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tempfile-3.27.0/src/dir/mod.rs:498:1
[INFO] [stdout]     |
[INFO] [stdout] 498 | impl Drop for TempDir {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `#1` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tempfile-3.27.0/src/dir/mod.rs:498:1
[INFO] [stdout]     |
[INFO] [stdout] 498 | impl Drop for TempDir {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout]     = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]     --> src/rules/semgrep_compat.rs:1958:43
[INFO] [stdout]      |
[INFO] [stdout] 1920 |         let mut inside = None;
[INFO] [stdout]      |             ----------
[INFO] [stdout]      |             |
[INFO] [stdout]      |             `inside` calls a custom destructor
[INFO] [stdout]      |             `inside` will be dropped later as of Edition 2024
[INFO] [stdout] 1921 |         let mut not_inside = None;
[INFO] [stdout]      |             --------------
[INFO] [stdout]      |             |
[INFO] [stdout]      |             `not_inside` calls a custom destructor
[INFO] [stdout]      |             `not_inside` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 1936 |                 positives.push(PatternMatcher::Regex(compile_regex(regex)?));
[INFO] [stdout]      |                                                      ---------------------
[INFO] [stdout]      |                                                      |
[INFO] [stdout]      |                                                      this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]      |                                                      `#1` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 1945 |                 negatives.push(NegativeMatcher::Regex(compile_regex(regex)?));
[INFO] [stdout]      |                                                       ---------------------
[INFO] [stdout]      |                                                       |
[INFO] [stdout]      |                                                       this value will be stored in a temporary; let us call it `#2`
[INFO] [stdout]      |                                                       `#2` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 1954 |                 let matchers = build_either_matchers(pe, lang)?;
[INFO] [stdout]      |                                --------------------------------
[INFO] [stdout]      |                                |
[INFO] [stdout]      |                                this value will be stored in a temporary; let us call it `#3`
[INFO] [stdout]      |                                `#3` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 1958 |                 if let Some(constraint) = MetavariableRegexConstraint::from_yaml(mr) {
[INFO] [stdout]      |                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |                                           |
[INFO] [stdout]      |                                           this value will be stored in a temporary; let us call it `#4`
[INFO] [stdout]      |                                           up until Edition 2021 `#4` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 1963 |             }
[INFO] [stdout]      |             - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#4` may invoke a custom destructor because it contains a trait object
[INFO] [stdout] note: `inside` invokes this custom destructor
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tree-sitter-0.25.10/binding_rust/lib.rs:1570:1
[INFO] [stdout]      |
[INFO] [stdout] 1570 | impl Drop for Tree {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `not_inside` invokes this custom destructor
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tree-sitter-0.25.10/binding_rust/lib.rs:1570:1
[INFO] [stdout]      |
[INFO] [stdout] 1570 | impl Drop for Tree {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = note: `#1` may invoke a custom destructor because it contains a trait object
[INFO] [stdout]      = note: `#2` may invoke a custom destructor because it contains a trait object
[INFO] [stdout]      = note: `#3` may invoke a custom destructor because it contains a trait object
[INFO] [stdout] note: `#3` invokes this custom destructor
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tree-sitter-0.25.10/binding_rust/lib.rs:1570:1
[INFO] [stdout]      |
[INFO] [stdout] 1570 | impl Drop for Tree {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]      = warning: this changes meaning in Rust 2024
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]     --> src/rules/semgrep_compat.rs:1971:43
[INFO] [stdout]      |
[INFO] [stdout] 1920 |         let mut inside = None;
[INFO] [stdout]      |             ----------
[INFO] [stdout]      |             |
[INFO] [stdout]      |             `inside` calls a custom destructor
[INFO] [stdout]      |             `inside` will be dropped later as of Edition 2024
[INFO] [stdout] 1921 |         let mut not_inside = None;
[INFO] [stdout]      |             --------------
[INFO] [stdout]      |             |
[INFO] [stdout]      |             `not_inside` calls a custom destructor
[INFO] [stdout]      |             `not_inside` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 1936 |                 positives.push(PatternMatcher::Regex(compile_regex(regex)?));
[INFO] [stdout]      |                                                      ---------------------
[INFO] [stdout]      |                                                      |
[INFO] [stdout]      |                                                      this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]      |                                                      `#1` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 1945 |                 negatives.push(NegativeMatcher::Regex(compile_regex(regex)?));
[INFO] [stdout]      |                                                       ---------------------
[INFO] [stdout]      |                                                       |
[INFO] [stdout]      |                                                       this value will be stored in a temporary; let us call it `#2`
[INFO] [stdout]      |                                                       `#2` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 1954 |                 let matchers = build_either_matchers(pe, lang)?;
[INFO] [stdout]      |                                --------------------------------
[INFO] [stdout]      |                                |
[INFO] [stdout]      |                                this value will be stored in a temporary; let us call it `#3`
[INFO] [stdout]      |                                `#3` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 1971 |                 if let Some(constraint) = MetavariablePatternConstraint::from_yaml(mp, lang) {
[INFO] [stdout]      |                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |                                           |
[INFO] [stdout]      |                                           this value will be stored in a temporary; let us call it `#4`
[INFO] [stdout]      |                                           up until Edition 2021 `#4` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 1976 |             }
[INFO] [stdout]      |             - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#4` may invoke a custom destructor because it contains a trait object
[INFO] [stdout] note: `#4` invokes this custom destructor
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tree-sitter-0.25.10/binding_rust/lib.rs:1570:1
[INFO] [stdout]      |
[INFO] [stdout] 1570 | impl Drop for Tree {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `inside` invokes this custom destructor
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tree-sitter-0.25.10/binding_rust/lib.rs:1570:1
[INFO] [stdout]      |
[INFO] [stdout] 1570 | impl Drop for Tree {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `not_inside` invokes this custom destructor
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tree-sitter-0.25.10/binding_rust/lib.rs:1570:1
[INFO] [stdout]      |
[INFO] [stdout] 1570 | impl Drop for Tree {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = note: `#1` may invoke a custom destructor because it contains a trait object
[INFO] [stdout]      = note: `#2` may invoke a custom destructor because it contains a trait object
[INFO] [stdout]      = note: `#3` may invoke a custom destructor because it contains a trait object
[INFO] [stdout] note: `#3` invokes this custom destructor
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tree-sitter-0.25.10/binding_rust/lib.rs:1570:1
[INFO] [stdout]      |
[INFO] [stdout] 1570 | impl Drop for Tree {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]      = warning: this changes meaning in Rust 2024
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating tests/mcp_server.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating tests/cnsa2_compliance.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating tests/swift_safe.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating tests/kernel_dirty_frag.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating tests/integration.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating src/bin/foxguard_adapter.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating tests/semgrep_parity_kotlin.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating tests/realistic_fixtures.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating src/bin/foxguard_mcp.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating tests/semgrep_parity_go.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating tests/ast_rule_batch_bench.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating tests/cross_language_matrix.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating tests/semgrep_parity_java.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating tests/bin/process_test_helper.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating tests/coccinelle_integration.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating tests/process_wrapper.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating src/main.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating tests/semgrep_parity_c.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating src/bin/gen_rules_ts.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating src/bin/registry_coverage.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating tests/release_provenance.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating tests/rule_inventory.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating tests/semgrep_compat_bench.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating tests/semgrep_parity_generic.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating tests/semgrep_parity_javascript.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating tests/fp_secret_names.rs from 2021 edition to 2024
[INFO] [stderr]        Fixed tests/fp_secret_names.rs (1 fix)
[INFO] [stderr]    Migrating tests/semgrep_parity.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating tests/semgrep_parity_hcl.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating tests/semgrep_integration.rs from 2021 edition to 2024
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 44s
[INFO] [stderr] crater-edition-check: foxguard v0.9.0 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]     Checking foxguard v0.9.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 55s
[INFO] [stderr] crater-edition-check all packages now at latest edition
[INFO] [stderr] crater-edition-check: all finished
[INFO] running `Command { std: "docker" "inspect" "cb02ae227d1966d22c784660bd25d2597e6f67fc8e96881be8f5c0e8bbd089c6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cb02ae227d1966d22c784660bd25d2597e6f67fc8e96881be8f5c0e8bbd089c6", kill_on_drop: false }`
[INFO] [stdout] cb02ae227d1966d22c784660bd25d2597e6f67fc8e96881be8f5c0e8bbd089c6
